<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <script>
        function f1(x, y) {
            console.log((x + y) + this);
        }

        f1(20, 10);

        var obejt = {
            name: "wx",
            age: 9
        }
        var copy = f1.bind(null, 20, 10);
        copy();
        //复制函数并修改引用
        copy =  f1.bind(obejt, 20, 10);
        copy();
    </script>
</body>

</html>